<template>
    <!-- 图纸类型设置 -->
    <base-breadcrumb>
        <div class="page-body">
            <a-card :bordered="false">
                <title-name title="施工阶段" />
                <basis :columns="columns" type-id="12"></basis>
            </a-card>
        </div>
    </base-breadcrumb>
</template>
<script>
import basis from '../components/basis'
const columns = [
    {
        title: '施工阶段',
        dataIndex: 'name'
    },
    {
        title: '状态',
        dataIndex: 'enabled',
        width: 150,
        customRender: (q) => {
            return q ? '可用' : '不可用'
        }
    },
    {
        title: '操作',
        dataIndex: 'actions',
        width: 150,
        scopedSlots: { customRender: 'actions' }
    }
]
export default {
    name: 'a' + Date.now(),
    components: {
        basis
    },
    data() {
        this.columns = columns
        return {}
    }
}
</script>